package stockroom;

public class Goods {
	private int WEIGHT;
	private int CAPASITY;
	private int ID;
	public int getWEIGHT() {
		return WEIGHT;
	}
	public int getCAPASITY() {
		return CAPASITY;
	}
	public int getID() {
		return ID;
	}
	public void setID(int iD) {
		ID = iD;
	}
	public Goods(){
		do{this.CAPASITY=(new java.util.Random()).nextInt(10);}
		while(CAPASITY==0);		
		do{this.WEIGHT = (new java.util.Random()).nextInt(1000);}
		while(WEIGHT==0);		
	}

}